//Name: patrol state
//Author:Max Charnock
//Last Updated: 20/05/2014
//Purpose:singleton state that makes an enemy patrol across a set path

#pragma once

#include "AbstractState.h"
#include "AbstractEnemy.h"

class Patrol: public State<AbstractEnemy>
{
	private:
		Patrol();
		~Patrol();	
		static Patrol* pInst;
	public:
		static Patrol* GetInstance();
		void Enter(AbstractEnemy* pEnemy);
		void Exit(AbstractEnemy* pEnemy);
		void Execute(AbstractEnemy* pEnemy);
		static void Release();
};